package Helpers;

import Entity.Company;
import VOs.CompanyVO;

public class CompanyHelper {
	
	public Company toEntity(CompanyVO vo){
		Company entity = new Company();
		entity.setDescription(vo.getDescription());
		entity.setId(vo.getId());
		entity.setMarket(vo.getMarket());
		entity.setName(vo.getName());
		entity.setStokes(vo.getStocks());
		entity.setSymbol(vo.getSymbol());
		
		return entity;
	}

}
